import Vue from 'vue';
import { Search,Grid, GridItem, Popup , Cell, CellGroup,Card, Form ,Field,Icon,Button,Tab,Tabs,Tag, Col, Row,ActionSheet } from 'vant';
Vue.use(Search);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Popup);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Card)
Vue.use(Form);
Vue.use(Field);
Vue.use(Icon);
Vue.use(Button);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Tag);
Vue.use(Col);
Vue.use(Row);
Vue.use(ActionSheet);
import { Toast } from 'vant';
Vue.use(Toast);
import { Rate } from 'vant';
Vue.use(Rate);
import { Empty } from 'vant';
Vue.use(Empty);
import { Swipe, SwipeItem } from 'vant';

Vue.use(Swipe);
Vue.use(SwipeItem);

Vue.use(Button);
import { Dialog } from 'vant';

import { DatetimePicker } from 'vant';

Vue.use(DatetimePicker);
import { Picker } from 'vant';


// 全局注册
Vue.use(Dialog);
Vue.use(Picker);